package com.chenbei.erp.enums;

import lombok.Getter;

@Getter
public enum PurchaseOrderStatusEnum {
    DRAFT(0, "草稿本"),
    PENDING_APPROVAL(1, "待审批"),
    APPROVED(2, "已审核"),
    REJECTED(3, "已拒绝"),
    PARTIALLY_RECEIVED(4, "部分完成"),
    COMPLETED(5, "已完成"),
    CANCELLED(6, "已取消");

    private final Integer status;

    private final String name;

    PurchaseOrderStatusEnum(Integer status, String name) {
        this.status = status;
        this.name = name;
    }
}
